import math
n = input (0)
max = float('-inf')
min = float('inf')
b = int(input(4))
c = int(input(6))
d = int(input(2))
e = int(input(7))
for i in n:
    if i >max :
        max = i
    if i <min :
        min = i
        print(max)
        print(min)
def r(n):
    if not n:
        return 0
    else:
        return(not int(n[0])%2)+r(n[1:])
    print(r(n))
count = 0
while (n>0):
 count = count + 1
print ('Кол-во цифр равно',count)
input_number = int(input('Введите число:'))
sqrt_number = math.sqrt(input_number)
print(sqrt_number == int(sqrt_number))

                   
    
                       
    
          
                                  
    
